package cn.javabb.core.shiro;

import lombok.Data;
import org.apache.shiro.authc.UsernamePasswordToken;

/**
 * @desc:
 * @author: javabb (javabob(a)163.com)
 * @create: 2019/11/11 17:01
 */
@Data
public class UserToken extends UsernamePasswordToken {

    private String loginType;

    public UserToken() {
    }
    public UserToken(final String username, final String password,
                     final String loginType) {
        super(username, password);
        this.loginType = loginType;
    }

}
